package my.dr.controller;


import my.dr.entity.Admin;
import my.dr.utils.RedisUtil;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author Anglers
 * @since 2021-07-27
 */
//@RestController
@Controller
public class IndexController extends BaseController {

    @RequestMapping("/")
    public String index(Model model) {
        return "index";
    }


}
